

mod utils;

use std::ptr::NonNull;

pub use utils::*;

#[inline(always)]
pub fn to_mut<T>(value: &T) -> &mut T {
    unsafe { NonNull::new_unchecked(value as *const T as *mut T).as_mut() }
}
